#bmtrees {
  font-size:1em;
}
#bookmark-window toolbarbutton {
  list-style-image: url("chrome://xulsword/skin/images/Bookmarks-toolbar.png");
  -moz-box-orient: vertical;
  min-width: 57px;
  padding: 5px;
}

#bookmark-window toolbarbutton > .toolbarbutton-icon {
  -moz-margin-end: 0px;
}

/* new bookmark */

toolbarbutton#newbookmark {
  -moz-image-region: rect(0px 24px 24px 0px);
}
toolbarbutton#newbookmark:not([disabled="true"]):hover {
  -moz-image-region: rect(24px 24px 48px 0px);
}
toolbarbutton#newbookmark[disabled="true"] {
  -moz-image-region: rect(72px 24px 96px 0px);
}
toolbarbutton#newbookmark:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 24px 72px 0px);
}

/* new folder */

toolbarbutton#newfolder {
  -moz-image-region: rect(0px 48px 24px 24px);
}
toolbarbutton#newfolder:not([disabled="true"]):hover {
  -moz-image-region: rect(24px 48px 48px 24px);
}
toolbarbutton#newfolder[disabled="true"] {
   -moz-image-region: rect(72px 48px 96px 24px);
}
toolbarbutton#newfolder:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 48px 72px 24px);
}

/* new separator */

toolbarbutton#newseparator {
  -moz-image-region: rect(0px 72px 24px 48px);
}
toolbarbutton#newseparator:not([disabled="true"]):hover {
  -moz-image-region: rect(24px 72px 48px 48px);
}
toolbarbutton#newseparator[disabled="true"] {
  -moz-image-region: rect(72px 72px 96px 48px);
}
toolbarbutton#newseparator:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 72px 72px 48px);
}

/* move bookmark */

toolbarbutton#moveBookmark {
  -moz-image-region: rect(0px 96px 24px 72px);
}
toolbarbutton#moveBookmark:not([disabled="true"]):hover {
  -moz-image-region: rect(24px 96px 48px 72px);
}
toolbarbutton#moveBookmark[disabled="true"] {
  -moz-image-region: rect(72px 96px 96px 72px);
}
toolbarbutton#moveBookmark:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 96px 72px 72px);
}

/* properties */

toolbarbutton#properties {
  -moz-image-region: rect(0px 120px 24px 96px);
}
toolbarbutton#properties:not([disabled="true"]):hover {
  -moz-image-region: rect(24px 120px 48px 96px);
}
toolbarbutton#properties[disabled="true"] {
  -moz-image-region: rect(72px 120px 96px 96px);
}
toolbarbutton#properties:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 120px 72px 96px);
}

/* rename */

toolbarbutton#rename {
  -moz-image-region: rect(0px 144px 24px 120px);
}
toolbarbutton#rename:not([disabled="true"]):hover {
  -moz-image-region: rect(24px 144px 48px 120px);
}
toolbarbutton#rename[disabled="true"] {
  -moz-image-region: rect(72px 144px 96px 120px);
}
toolbarbutton#rename:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 144px 72px 120px);
}

/* delete */

toolbarbutton#delete {
  -moz-image-region: rect(0px 168px 24px 144px);
}
toolbarbutton#delete:not([disabled="true"]):hover {
  -moz-image-region: rect(24px 168px 48px 144px);
}
toolbarbutton#delete[disabled="true"] {
  -moz-image-region: rect(72px 168px 96px 144px);
}
toolbarbutton#delete:not([disabled="true"]):hover:active {
  -moz-image-region: rect(48px 168px 72px 144px);
}

#bookmark-folders-view > .bookmarksTree {
  margin: 0px;
}

#bookmark-views-splitter {
  border: none; 
}

/* Below fixes RTL vertical algnment of twisty in column, but causes twisty click to fail and messes up LTR placement */
/*treechildren::-moz-tree-twisty(Name) {
  -moz-margin-end: 16px;
}*/

statusbar[chromedir="rtl"] > statusbarpanel > resizer {
  display: none;
}

#bookmark-folders-view, #bookmarks-view {
  text-align: start;
}
